package com.app.partner.service;

import com.app.partner.mapper.UserMapper;
import com.app.partner.mapper.enterMapper;
import com.app.partner.model.User;
import com.app.partner.model.enter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Service("enterServiceImpl")
@EnableTransactionManagement
public class enterServiceImpl implements enterService{
    @Autowired
    private enterMapper enterMapper;


    @Override
    public enter findall(String username, String password) throws Exception {
        return enterMapper.findall(username,password);
    }
}
